﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.BD.Agent
{
    class RespRunVMToolHandler : CPPEI.Net.IResponseHandler
    {
        public void Handle(Net.NetPackage package)
        {
            string solutionData = Convert.ToBase64String(package.Buffer);

            CPPEI.App.StartupAppUtil.StartupApp("CPPEI", "BD", "VMTool", string.Format("/solution {0}", solutionData));
            System.Console.WriteLine("run VMTool");
        }
    }
}
